i = 0
n=450

while i<n:
    k =0
    while k<5:
        print(n,end=" ")
        k = k + 1
        n = n-1
    print("\t")